<%@ page language="java" import="java.util.*" pageEncoding="utf-8" contentType="text/html; charset=UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>AMII 面料管理</title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<meta http-equiv="content-type" content="text/html;charset=utf-8">


<link rel="stylesheet" href="js/easyui/demo/demo.css" type="text/css"></link>
<link rel="stylesheet" href="js/easyui/themes/icon.css" type="text/css"></link>
<link rel="stylesheet" href="js/easyui/themes/default/easyui.css"
	type="text/css"></link>
<script type="text/javascript" src="js/easyui/jquery-1.6.min.js"></script>
<script type="text/javascript" src="js/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="script/common.js"></script>
<script type="text/javascript" src="js/easyui/themes/easyui-lang-zh_CN.js"></script>
<link href="css/style.css" rel="stylesheet" type="text/css">


<style type="text/css">
* {
	margin: 0px;
	padding: 0px;
}

.form-table tr td:first-child {
	width: 4em;
}

</style>
<script type="text/javascript">
/* $(function(){
	$.ajax({
		type : 'POST',
		url : 'usingetRoleByUsid.action',
		data : null,
		dataType : 'json',
		success : function(data) {
			var $westPanel = $("#layout_win").layout('panel', 'west')[0];
			var westPanel = $westPanel.getElementsByClassName("panel")[0];
			var tagDiv = westPanel.getElementsByTagName('div')[3];
			var taglis = tagDiv.getElementsByTagName('li');
				
			if(data){
				taglis[7].style.display = "block";
				taglis[8].style.display = "block";
			}else{
				taglis[7].style.display = "none";
				taglis[8].style.display = "none";
			}
		}
	}) 
	
	//var userName = '<%=session.getAttribute("loginUserName")%>';
	//if(userName != null && userName != 'null' && userName != ''){
		
	//}else{
		//var $westPanel = $("#layout_win").layout('panel', 'west')[0];
		//var treeul = $westPanel.getElementsByTagName('ul')[0];
		
		//$(treeul).tree({
			//onClick : function(node) {
				//if (node.id != null) {
				//	Open(node.text, node.id);
				//}
			//}
		//});
	//}
})*/
</script>
</head>

<body class="easyui-layout" id="layout_win">
	<!-- 正上方panel -->
	<div region="north" style="height:100px;padding:10px;" href="top.jsp"></div>
	<!-- 正左边panel -->
	<div region="west" title="菜单栏" split="true" collapsible="false"
		style="width:220px;padding1:1px;overflow:hidden;list-style: none;" href="tree.jsp">
	</div>
	<!-- 正中间panel -->
	<div region="center" title="功能区" id="right">
		<div class="easyui-tabs" id="tabs" fit="true" border="false">
			<div title="欢迎页" id="welcome" style="padding:20px;overflow:hidden;">
				<div style="margin-top:20px;">
					<h1>欢迎使用！</h1>
				</div>
			</div>
		</div>
	</div>
	<!-- 正下方panel -->
	<div region="south" style="height:50px;" align="center">
	<div class="copy-right">
		<label class="label-text"> AMII All Rights Reserved.<br /> 2015  </label>
	</div>
	</div>
</body>

</html>
